package com.nc.delivery_project.server.domain;

import java.util.Date;

/**
 * Created by miroshnik on 01.12.14.
 */
public class OrderWaypoint {
    private int id;

    private int priority;

    private String status;

    private Date sentDate;

    private Date receivedDate;

    private Department department;
    public OrderWaypoint(){}
    public OrderWaypoint(int id, int priority, String status, Date sentDate, Date receivedDate, Department department)
    {
        this.id=id;
        this.priority=priority;
        this.sentDate=sentDate;
        this.receivedDate=receivedDate;
        this.status=status;
        this.department=department;
    }

    public int getId()
    {
        return id;
    }
    public void setId(int id)
    {
        this.id=id;
    }
    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getSentDate() {
        return sentDate;
    }

    public void setSentDate(Date sentDate) {
        this.sentDate = sentDate;
    }

    public Date getReceivedDate() {
        return receivedDate;
    }

    public void setReceivedDate(Date receivedDate) {
        this.receivedDate = receivedDate;
    }

    public Department getDepartment()
    {
        return department;
    }
    public  void setDepartment(Department department)
    {
        this.department=department;
    }
}
